/********************************************************/
/*	MouseHandler class by George Chew					*/
/*	For use in GeorgeLib								*/
/*	Created Mar 2013									*/
/*														*/
/*	Version 0001										*/
/********************************************************/

#ifndef __MOUSE_HANDLER_H__
#define __MOUSE_HANDLER_H__

#include "stdafx.h"
#include "Logger.h"

namespace GeorgeLib
{

class DLLEXPORT MouseHandler
{

	/*		How to use this class 		*/
	// MouseHandler mouse;

public:
	bool MouseButtons[5];
	enum { LEFT = 0, RIGHT, MIDDLE, WHEEL_UP, WHEEL_DOWN };
	int  LastX, LastY, DiffX, DiffY;
	
	MouseHandler(void);		// Constructor
	~MouseHandler(void);		// Destructor

	void	HandleMouseFunc		(int button , int state, int x, int y);
	void	HandleMotionFunc	(int x, int y);
};

} // namespace GeorgeLib

#endif // __MOUSE_HANDLER_H__ //